public class WashMachine {
    public String type;
    public double weight;
    public String color;//成员变量

    public void washClothes(){
        System.out.println("洗衣功能");
    }//成员方法
}
